SELECT T.*
FROM FD_VARIABLE T
JOIN FD_DICTIONARY JD     ON (JD.ID  = T.TYPE_ID)
JOIN FD_DICTIONARY_TY JDT ON (JDT.ID = JD.TYPE_ID )
WHERE JDT.CODE                       = 'VariableType'
AND JD.CODE                          = :TYPE_CO